ObjectsCompat
This class consists of static utility methods for operating on objects.
Functions
Link copied to clipboard
Checks that the specified object reference is not
null.open fun <T> requireNonNull(@Nullable obj: @Nullable T, @NonNull message: @NonNull String): @NonNull T
Checks that the specified object reference is not
null and throws a customized NullPointerException if it is.